#ifndef FILE_MANAGER_H
#define FILE_MANAGER_H

// #define FILE_FLAG_OPEN 1
// #define FILE_FLAG_CLOSE 0

typedef struct demo_inf
{
    lv_obj_t * main_windows;
    lv_obj_t * dir_list;
    lv_obj_t * little_windows;

}DI,*P_DI;

struct tmp_inf
{
    P_DI p_di;
    char  base_dir_path[256];
};

// extern int file_flag;

//创建主画布 初始化
P_DI Demo_Init();
int  Show_File_List(const char * obj_dir_path,P_DI p_di);
void Close_Img_Btn(lv_event_t *event);
void Press_Pic_Btn(lv_event_t *event);
void Press_Dir_Btn(lv_event_t *event);
void ui_event_btn_exit(lv_event_t * e);

#endif
